package com.diandian.util;


import org.apache.log4j.DailyRollingFileAppender;
import org.apache.log4j.Priority;

/**
 * <b>FreedomDailyRollingFileAppender</b><br>
 * 自定log4j日志输出类  extends log4j.DailyRollingFileAppender
 * 
 */
public class FreedomDailyRollingFileAppender extends DailyRollingFileAppender {

	public boolean isAsSevereAsThreshold(Priority priority) {
		return threshold == null || this.getThreshold().equals(priority);
	}
}